﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities
{
    /// <summary>
    /// 实验室标准
    /// </summary>
    public partial class LabCheckStd : BaseEntity<LabCheckStd>, IArchieve
    {
        /// <summary>
        /// 所属医院
        /// </summary>
        [ForeignKey("Hospital")]
        public Guid? HospitalID { get; set; }

        /// <summary>
        /// 医院
        /// </summary>
        public virtual Hospital Hospital { get; set; }

        [ArchieveField]
        public byte Gender { get; set; }

        #region 标准

        #region 血沉
        [ArchieveField]
        public decimal? ESRmax { get; set; }
        [ArchieveField]
        public decimal? ESRmin { get; set; }
        #endregion 血沉

        #region 血常规
        [ArchieveField]
        public decimal? RBCmax { get; set; }
        [ArchieveField]
        public decimal? RBCmin { get; set; }
        [ArchieveField]
        public decimal? PLTmax { get; set; }
        [ArchieveField]
        public decimal? PLTmin { get; set; }
        [ArchieveField]
        public decimal? Hbmax { get; set; }
        [ArchieveField]
        public decimal? Hbmin { get; set; }
        [ArchieveField]
        public decimal? WBCmax { get; set; }
        [ArchieveField]
        public decimal? WBCmin { get; set; }
        [ArchieveField]
        public decimal? NEUmax { get; set; }
        [ArchieveField]
        public decimal? NEUmin { get; set; }
        [ArchieveField]
        public decimal? LYMmax { get; set; }
        [ArchieveField]
        public decimal? LYMmin { get; set; }
        [ArchieveField]
        public decimal? MNCmax { get; set; }
        [ArchieveField]
        public decimal? MNCmin { get; set; }
        #endregion 血常规

        #region 尿常规
        [ArchieveField]
        public byte? PROmax { get; set; }
        [ArchieveField]
        public byte? PROmin { get; set; }
        [ArchieveField]
        public byte? GLUmax { get; set; }
        [ArchieveField]
        public byte? GLUmin { get; set; }
        [ArchieveField]
        public byte? LEUmax { get; set; }
        [ArchieveField]
        public byte? LEUmin { get; set; }
        [ArchieveField]
        public byte? BLDmax { get; set; }
        [ArchieveField]
        public byte? BLDmin { get; set; }
        #endregion 尿常规

        #region 粪常规
        [ArchieveField]
        public byte? BXBmax { get; set; }
        [ArchieveField]
        public byte? BXBmin { get; set; }
        [ArchieveField]
        public byte? FBmax { get; set; }
        [ArchieveField]
        public byte? FBmin { get; set; }
        #endregion 粪常规

        #region 肝肾功能
        [ArchieveField]
        public decimal? ALTmax { get; set; }
        [ArchieveField]
        public decimal? ALTmin { get; set; }
        [ArchieveField]
        public decimal? ASTmax { get; set; }
        [ArchieveField]
        public decimal? ASTmin { get; set; }
        [ArchieveField]
        public decimal? BUNmax { get; set; }
        [ArchieveField]
        public decimal? BUNmin { get; set; }
        [ArchieveField]
        public decimal? SCrmax { get; set; }
        [ArchieveField]
        public decimal? SCrmin { get; set; }
        [ArchieveField]
        public decimal? ZDHSmax { get; set; }
        [ArchieveField]
        public decimal? ZDHSmin { get; set; }
        [ArchieveField]
        public decimal? JHDHSmax { get; set; }
        [ArchieveField]
        public decimal? JHDHSmin { get; set; }
        [ArchieveField]
        public decimal? BDBmax { get; set; }
        [ArchieveField]
        public decimal? BDBmin { get; set; }
        [ArchieveField]
        public decimal? JXLSMmax { get; set; }
        [ArchieveField]
        public decimal? JXLSMmin { get; set; }
        [ArchieveField]
        public decimal? GAXZTMmax { get; set; }
        [ArchieveField]
        public decimal? GAXZTMmin { get; set; }
        [ArchieveField]
        public decimal? ZDGCmax { get; set; }
        [ArchieveField]
        public decimal? ZDGCmin { get; set; }
        [ArchieveField]
        public decimal? NSmax { get; set; }
        [ArchieveField]
        public decimal? NSmin { get; set; }
        #endregion 肝肾功能

        #region 肿瘤标志物
        [ArchieveField]
        public decimal? CEAmax { get; set; }
        [ArchieveField]
        public decimal? CEAmin { get; set; }
        [ArchieveField]
        public decimal? CA50max { get; set; }
        [ArchieveField]
        public decimal? CA50min { get; set; }
        [ArchieveField]
        public decimal? CA199max { get; set; }
        [ArchieveField]
        public decimal? CA199min { get; set; }
        [ArchieveField]
        public decimal? CA724max { get; set; }
        [ArchieveField]
        public decimal? CA724min { get; set; }
        [ArchieveField]
        public decimal? CA242max { get; set; }
        [ArchieveField]
        public decimal? CA242min { get; set; }
        #endregion 肿瘤标志物

        #region 免疫功能相关
        [ArchieveField]
        public decimal? NKmax { get; set; }
        [ArchieveField]
        public decimal? NKmin { get; set; }
        [ArchieveField]
        public decimal? CD3max { get; set; }
        [ArchieveField]
        public decimal? CD3min { get; set; }
        [ArchieveField]
        public decimal? CD4max { get; set; }
        [ArchieveField]
        public decimal? CD4min { get; set; }
        [ArchieveField]
        public decimal? CD8max { get; set; }
        [ArchieveField]
        public decimal? CD8min { get; set; }
        [ArchieveField]
        public decimal? CD4_CD8max { get; set; }
        [ArchieveField]
        public decimal? CD4_CD8min { get; set; }
        #endregion 免疫功能相关

        #endregion
    }
}
